/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.minhphuong.bll;

import com.minhphuong.dal.HoaDonDAL;
import com.minhphuong.entities.HoaDon;
import java.util.List;

/**
 *
 * @author MINHPHUONG
 */
public class HoaDonBLL {
    public static List<HoaDon> getAllHoaDon()
    {
        return HoaDonDAL.getAllHoaDon();
    }
    public static HoaDon getHoaDonByID(String id)
    {
        return HoaDonDAL.getHoaDonByID(id);
    }
    public static void updateHoaDon(HoaDon hoadon)
    {
        HoaDonDAL.updateHoaDon(hoadon);
    }
}
